//
//  WPTreamentTableViewHeaderView.m
//  wobingwoyi
//
//  Created by WGP on 2016/12/16.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "WPTreamentTableViewHeaderView.h"

@implementation WPTreamentTableViewHeaderView

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        self.backgroundColor = GlobalBgColor;
        
        UIImage *image = [UIImage imageNamed:@"example_tip"];
        UIImageView *tipImageView = [[UIImageView alloc] initWithImage:image];
        [self addSubview:tipImageView];
        
        [tipImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerX.equalTo(self);
            make.top.equalTo(self).offset(10);
        }];
    }
    return self;
}

@end
